package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import com.bin.david.form.annotation.SmartColumn
import com.bin.david.form.annotation.SmartTable
import kotlinx.parcelize.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2024/3/28 16:22
 * @Describe    :
 */
@Parcelize
class BankLimitResponse(

    var list: ArrayList<ListBean> = ArrayList(),

    ) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    @SmartTable(name = "限额说明")
    @Parcelize
    class ListBean(

        @SmartColumn(id = 0, name = "银行", fixed = true)
        var bankName: String = "",
        @SmartColumn(id = 2, name = "贷记卡")
        var djk: String = "",
        @SmartColumn(id = 1, name = "借记卡")
        var jjk: String = "",

        ) : Parcelable

}